package com.csair.seam.domain.model.entity;

import java.io.Serializable;

import com.csair.seam.infrastructure.poi.annotation.ExportField;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @description 资产分类统计实体
 * @author lanrunli
 *
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel
public class AssetsCategoryStatistics implements Serializable{

	private static final long serialVersionUID = -1202108954418654382L;

	@ApiModelProperty(value="一级分类，类别编码")
    private String categoryCode;

    @ApiModelProperty(value="一级分类，设备类别")
    @ExportField(columnName = "类别")
    private String categoryName;

    @ApiModelProperty(value="设备总数")
    @ExportField(columnName = "设备总数（台）")
    private Integer countNum;

    @ApiModelProperty(value="总价值")
    @ExportField(columnName = "总价值（万元）")
    private Double countPrice;

    @ApiModelProperty(value="平均使用年限")
    @ExportField(columnName = "平均使用年限（年）")
    private Double avgServiceYear;

    @ApiModelProperty(value="5年内占比")
    @ExportField(columnName = "5年内占比（%）")
    private Double fiveYearWeight;
}
